searchbar: Fix property documentation comments
authorTimm Bäder <mail@baedert.org>
Sun, 7 May 2017 12:02:27 +0000 (14:02 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 20 Jul 2017 01:27:12 +0000 (21:27 -0400)
They are properties of GtkSearchBar, not GtkEntry.

gtk/gtksearchbar.c

index 40e405e6fcfaf9a9b8fa6b7aad23b09666448d2d..abbae64e892c3e8a0368f9e4288330cad1ef81d2 100644 (file)
@@ -376,7 +376,7 @@ gtk_search_bar_class_init (GtkSearchBarClass *klass)
   container_class->add = gtk_search_bar_add;
 
   /**
-   * GtkEntry:search-mode-enabled:
+   * GtkSearchBar:search-mode-enabled:
    *
    * Whether the search mode is on and the search bar shown.
    *
@@ -389,9 +389,9 @@ gtk_search_bar_class_init (GtkSearchBarClass *klass)
                                                                  GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
   /**
-   * GtkEntry:show-close-button:
+   * GtkSearchBar:show-close-button:
    *
-   * Whether to show the close button in the toolbar.
+   * Whether to show the close button in the search bar.
    */
   widget_props[PROP_SHOW_CLOSE_BUTTON] = g_param_spec_boolean ("show-close-button",
                                                                P_("Show Close Button"),